#ifndef INTERFACEPACKOPERATION
#define INTERFACEPACKOPERATION
#include <arpa/inet.h>
#include <memory.h>
#define interface struct

#include <stdint.h>
#include "PackType.h"


//接口类,包类必须实现 pack() unpack()
interface InterfacePackOperation{
    virtual PackType pack()=0;
    virtual void unpack(PackType hexData)=0;
};



#endif // INTERFACEPACKOPERATION

